#include <basic_types.h>
#include <sys_config.h>

#ifdef TTX_HEBREW_SUPPORT

static const UINT32 TTX_HEBREW_Font[][96][9] =
{
   // TTX_HEBREW_SUPPORT	
		{
		     { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},    //  032  0x20
                   { 0x00000000, 0x0001c007, 0x001c0070, 0x01c00700, 0x1c007001, 0xc0070000, 0x007001c0, 0x07000000, 0x00000000},    //  033  0x21
                   { 0x00000000, 0x001f7c7d, 0xf1f7c3cf, 0x0f3c79c1, 0xe7000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},    //  034  0x22
			{0x00000000, 0x000ffc7f, 0xf9ffe7c7, 0x8f007f01, 0xfc07f01f, 0xc03c01fc, 0x67ff9efe, 0x79f00000, 0x00000000},
			{0x00000000, 0x3000c01f, 0xc0ffc3cf, 0x0f001f00, 0x1f001f00, 0x7c00f0f3, 0xc1fc01e0, 0x03000c00, 0x00000000},
                   { 0x00000000, 0x00000038, 0x19f0e6c7, 0x9b1c7ce0, 0xe7003803, 0xc01ee0f7, 0xc71b187c, 0x40e00000, 0x00000000},    //  037  0x25
                   { 0x00000000, 0x0000003f, 0x01fe0618, 0x18606181, 0x8603f00f, 0xc0739b87, 0xec0e3ffe, 0x7f980000, 0x00000000},    //  038  0x26
                   { 0x00000000, 0x0003e00f, 0x803e0078, 0x01e00f00, 0x3c000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000},    //  039  0x27
                   { 0x00000000, 0x00000001, 0xc01f00f0, 0x03c01f00, 0x7801e007, 0x801e007c, 0x00f001f0, 0x01c00000, 0x00000000},    //  040  0x28
                   { 0x00000000, 0x0000001c, 0x007c0078, 0x01e007c0, 0x0f003c00, 0xf003c01f, 0x007807c0, 0x1c000000, 0x00000000},    //  041  0x29
                   { 0x00000000, 0x0001e007, 0x83deef7b, 0xbdeef7bb, 0xffe0fc3f, 0xfef7bbde, 0xef7b81e0, 0x07800000, 0x00000000},    //  042  0x2a
                   { 0x00000000, 0x00000000, 0x001e0078, 0x01e00781, 0xffc7ff1f, 0xfc07801e, 0x00780000, 0x00000000, 0x00000000},    //  043  0x2b
                   { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000f0, 0x03c00f00, 0x1c00e003, 0x800e0000},    //  044  0x2c
                   { 0x00000000, 0x00000000, 0x00000000, 0x00000001, 0xffc7ff1f, 0xfc000000, 0x00000000, 0x00000000, 0x00000000},    //  045  0x2d
                   { 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x000000f0, 0x03c00f00, 0x3c000000, 0x00000000},    //  046  0x2e
                   { 0x00000000, 0x00000000, 0x3001c00f, 0x007803c0, 0x1e00f007, 0x803c01e0, 0x0f003800, 0x00000000, 0x00000000},    //  047  0x2f
                   { 0x00000000, 0x00000007, 0x807f83cf, 0x0f3c3cf0, 0xf3c3cf0f, 0x3c3cf0f3, 0xc3cf07f8, 0x07800000, 0x00000000},    //  048  0x30
                   { 0x00000000, 0x00000003, 0xc01f00fc, 0x07f01fc0, 0x0f003c00, 0xf003c00f, 0x003c00f0, 0x03c00000, 0x00000000},    //  049  0x31
                   { 0x00000000, 0x0000000f, 0xc07f83ff, 0x0e3c38f0, 0x07803c01, 0xe00f0078, 0x03ff0ffc, 0x3ff00000, 0x00000000},    //  050  0x32
                   { 0x00000000, 0x00000007, 0x807f03ce, 0x0e1c3870, 0x03c03c00, 0xf000f0e1, 0xc3ce07f0, 0x07800000, 0x00000000},    //  051  0x33
                   { 0x00000000, 0x00000001, 0xc00f007c, 0x03f01fc0, 0xf7071c1c, 0x707ff1ff, 0xc01c0070, 0x01c00000, 0x00000000},    //  052  0x34
                   { 0x00000000, 0x0000007f, 0xe1ff8700, 0x1c007001, 0xff07fe00, 0x7800e1c3, 0x87de0ff0, 0x1f800000, 0x00000000},    //  053  0x35
                   { 0x00000000, 0x0000000f, 0xc07f8186, 0x0e003800, 0xfe03fc0e, 0x3838e0e3, 0x818e07f0, 0x0f800000, 0x00000000},    //  054  0x36
                   { 0x00000000, 0x0000003f, 0xe0ff8006, 0x003800e0, 0x07001800, 0xe0070018, 0x00e00300, 0x0c000000, 0x00000000},    //  055  0x37
                   { 0x00000000, 0x0000000f, 0x807f038e, 0x0e3838e0, 0xe381fc07, 0xf038e0e3, 0x838e07f0, 0x0f800000, 0x00000000},    //  056  0x38
                   { 0x00000000, 0x0000000f, 0x807f038e, 0x0e3838e0, 0xe3838e07, 0xf80fe003, 0x830e0ff0, 0x1f800000, 0x00000000},    //  057  0x39
                   { 0x00000000, 0x00000000, 0x003c00f0, 0x03c00f00, 0x3c000000, 0x000f003c, 0x00f003c0, 0x00000000, 0x00000000},    //  058  0x3a
                   { 0x00000000, 0x00000000, 0x003c00f0, 0x03c00f00, 0x3c000000, 0x000f003c, 0x00f003c0, 0x1f007800, 0x00000000},    //  059  0x3b
                   { 0x00000000, 0x00001c01, 0xf01fc0fc, 0x07e01f83, 0xf80f803f, 0x801f803f, 0x007f007c, 0x00700000, 0x00000000},    //  060  0x3c
                   { 0x00000000, 0x00000000, 0x01ffc7ff, 0x1ffc7ff0, 0x0007ff1f, 0xfc7ff000, 0x00000000, 0x00000000, 0x00000000},    //  061  0x3d
                   { 0x00000000, 0x003c00f8, 0x03f801f8, 0x03f00fc0, 0x1fc01f01, 0xfc0fc07e, 0x0fe03e00, 0xf0000000, 0x00000000},    //  062  0x3e
                   { 0x00000000, 0x000ff83f, 0xf1ffc78f, 0x003c00f0, 0x03c07f01, 0xf8070000, 0x007001c0, 0x07000000, 0x00000000},    //  063  0x3f
                   { 0x00000000, 0x0003fc3f, 0xf1e1efbf, 0xbcfef3fb, 0xddef77bd, 0xdef3fbef, 0xe7801ffc, 0x3ff00000, 0x00000000},    //  064  0x40
                   { 0x00000000, 0x00000007, 0x001c01f8, 0x07e01f80, 0xf783de1e, 0x3c78f3ff, 0xefffb81e, 0xc0180000, 0x00000000},    //  065  0x41
                   { 0x00000000, 0x0000003f, 0x80ff03ce, 0x0f383ce0, 0xf383fc0f, 0xf83c70f1, 0xc3c70ff8, 0x3fc00000, 0x00000000},    //  066  0x42
                   { 0x00000000, 0x0000001f, 0x80ff03ce, 0x1e1c7871, 0xe007801e, 0x007801e1, 0xc3ce0ff0, 0x1f800000, 0x00000000},    //  067  0x43
                   { 0x00000000, 0x0000007f, 0x81ff071c, 0x1c3c70f1, 0xc3c70f1c, 0x3c70f1c3, 0xc71c1ff0, 0x7f800000, 0x00000000},    //  068  0x44
                   { 0x00000000, 0x0000007f, 0xe1ff8700, 0x1c007001, 0xc007fc1f, 0xf07001c0, 0x07001ff8, 0x7fe00000, 0x00000000},    //  069  0x45
                   { 0x00000000, 0x0000003f, 0xe0ff83c0, 0x0f003c00, 0xf003fc0f, 0xf03c00f0, 0x03c00f00, 0x3c000000, 0x00000000},    //  070  0x46
                   { 0x00000000, 0x0000000f, 0xc0ff838f, 0x9c1e7079, 0xc007001c, 0x7e71f9c1, 0xe38f8ffe, 0x0fc00000, 0x00000000},    //  071  0x47
                   { 0x00000000, 0x00000070, 0x71c1c707, 0x1c1c7071, 0xc1c7ff1f, 0xfc7071c1, 0xc7071c1c, 0x70700000, 0x00000000},    //  072  0x48
                   { 0x00000000, 0x0000000f, 0x003c00f0, 0x03c00f00, 0x3c00f003, 0xc00f003c, 0x00f003c0, 0x0f000000, 0x00000000},    //  073  0x49
                   { 0x00000000, 0x00000000, 0xe003800e, 0x003800e0, 0x03800e00, 0x3870e1c3, 0x878e0ff0, 0x1f800000, 0x00000000},    //  074  0x4a
                   { 0x00000000, 0x00000078, 0x39e1c78e, 0x1e707b81, 0xfc07e01f, 0xc07f81e7, 0x078e1e1c, 0x78380000, 0x00000000},    //  075  0x4b
                   { 0x00000000, 0x0000001c, 0x007001c0, 0x07001c00, 0x7001c007, 0x001c0070, 0x01c007fc, 0x1ff00000, 0x00000000},    //  076  0x4c
                   { 0x00000000, 0x0000007c, 0x7df1f7ef, 0xdfbf7efd, 0xfbf7ffde, 0xe77b9dee, 0x7791de47, 0x791c0000, 0x00000000},    //  077  0x4d
                   { 0x00000000, 0x00000070, 0x39e0e7c3, 0x9f8e7e39, 0xfce7ff9e, 0xfe79f9e3, 0xe7839e0e, 0x78380000, 0x00000000},    //  078  0x4e
                   { 0x00000000, 0x00000007, 0x80ffc3cf, 0x1e1e7879, 0xe1e7879e, 0x1e7879e1, 0xe3cf0ffc, 0x07800000, 0x00000000},    //  079  0x4f
                   { 0x00000000, 0x0000007f, 0xe1ffc78f, 0x1e3c78f1, 0xe3c7ff1f, 0xf87801e0, 0x07801e00, 0x78000000, 0x00000000},    //  080  0x50
                   { 0x00000000, 0x00000007, 0x80ffc3cf, 0x1e1e7879, 0xe1e7879e, 0x1e7b79ed, 0xe3df0ffc, 0x07f80060, 0x00000000},    //  081  0x51
                   { 0x00000000, 0x0000007f, 0xc1ffc78f, 0x1e3c78f1, 0xe3c7fc1f, 0xe07bc1e7, 0xc78f9e1e, 0x78380000, 0x00000000},    //  082  0x52
                   { 0x00000000, 0x0000001f, 0x80ff078f, 0x1e1c7801, 0xfe03fe07, 0xfc00f1c3, 0xc79f0ff8, 0x1fc00000, 0x00000000},    //  083  0x53
                   { 0x00000000, 0x000000ff, 0xfbffe0f0, 0x03c00f00, 0x3c00f003, 0xc00f003c, 0x00f003c0, 0x0f000000, 0x00000000},    //  084  0x54
                   { 0x00000000, 0x00000070, 0x79c1e707, 0x9c1e7079, 0xc1e7079c, 0x1e7079c1, 0xe7cf8ff8, 0x1fc00000, 0x00000000},    //  085  0x55
                   { 0x00000000, 0x000000e0, 0x7b81e70e, 0x1c383dc0, 0xf703dc07, 0xe01f803c, 0x00f00080, 0x02000000, 0x00000000},    //  086  0x56
                   { 0x00000000, 0x000000e7, 0x3b9cee73, 0xb9cee73b, 0x9cee73bb, 0xeefdfbe3, 0xef0fbc1e, 0x60300000, 0x00000000},    //  087  0x57
                   { 0x00000000, 0x000000e0, 0x7bc3e79e, 0x0ff01f80, 0x7e00f003, 0xc01f80ff, 0x079e3c3c, 0xe0700000, 0x00000000},    //  088  0x58
                   { 0x00000000, 0x000000e0, 0x73c3c79e, 0x0ff01f80, 0x7e00f003, 0xc00f003c, 0x00f003c0, 0x0f000000, 0x00000000},    //  089  0x59
                   { 0x00000000, 0x0000007f, 0xe1ff800e, 0x007803c0, 0x1e00f007, 0x803c01e0, 0x07001ff8, 0x7fe00000, 0x00000000},    //  090  0x5a
			{0x00000000, 0x0003c01f, 0x00f807c0, 0x3c00fffb, 0xffefffbf, 0xfef001f0, 0x03e007c0, 0x0f000000, 0x00000000},
			{0x00000000, 0x003c38f0, 0xe3c60f38, 0x3cc0f7fb, 0xffefc7bf, 0x1e38f9e7, 0xc73e3cfe, 0xc3f80000, 0x00000000},
			{0x00000000, 0x0003c00f, 0x800f001e, 0x003efffb, 0xffefffbf, 0xfe00f807, 0x803c03e0, 0x0f000000, 0x00000000},
			{0x00000000, 0x0003c01f, 0x80ff07fe, 0x3ffeef7b, 0x3ce0f003, 0xc00f003c, 0x00f003c0, 0x0f003c00, 0x00000000},
			{0x00000000, 0x000f3c3c, 0xf0f3c7ff, 0x9ffe7ff8, 0xf3c3cf0f, 0x3c7ff9ff, 0xe3cf0f3c, 0x3cf00000, 0x00000000},
			
			{ 	0x00000000,	0x00000000,	0x00000387,	0x071c0e70,	0x3f81fe0e,	0xe039c0e7,	0x038e0e1c,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003f8,	0x0ff001e0,	0x03800e00,	0x3800e003,	0x83ff0ffc,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000001f0,	0x07e00380,	0x0e003800,	0xe007803f,	0x01dc0e70,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fe,	0x0ff801c0,	0x07001c00,	0x7001c007,	0x001c0070,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x0ff800f0,	0x01c3870e,	0x1c3870e1,	0xc3870e1c,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000000f0,	0x03e00380,	0x0e003800,	0xe003800e,	0x003800e0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000000e0,	0x03e00380,	0x1c007001,	0xc007001c,	0x007001c0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x0ff838f0,	0xe1c3870e,	0x1c3870e1,	0xc3870e1c,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x0000039e,	0x0e7c3870,	0xe1c3870e,	0x1c3870f3,	0xc1fe03f0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000000f0,	0x03e00380,	0x0e003800,	0x00000000,	0x00000000,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003f8,	0x0ff001e0,	0x03800e00,	0x3800e003,	0x800e0038,	0x00e00380,	0x0e003800},   
			{ 	0x00000000,	0x00000000,	0x000003f8,	0x0ff001e0,	0x03800e00,	0x3800e007,	0x83fc0fe0,	0x00000000,	0x00000000},   
			{ 	0x00000001,	0xc007001c,	0x007001fc,	0x07f800e0,	0x03800e00,	0x7003c01e,	0x00f00180,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x0ff838f0,	0xe1c3870e,	0x1c3870e1,	0xc3ff0ffc,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x07f81ef0,	0x71c1c707,	0x1c1c70e1,	0xc3bf0efc,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000000f0,	0x03e00380,	0x0e003800,	0xe003800e,	0x003800e0,	0x03800e00,	0x3800e000},   
			{ 	0x00000000,	0x00000000,	0x000000f0,	0x03e00380,	0x0e003800,	0xe003800e,	0x00f803e0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000007fc,	0x1ff838f0,	0xe1c3870e,	0x1c3870f3,	0xc1fe03f0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x0000038e,	0x0e381ce0,	0x7381ce03,	0xb00fc03f,	0x00f803c0,	0x3e00f000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x0ff838f0,	0xe1c3e707,	0x9c007001,	0xc007001c,	0x007001c0,	0x07001c00},   
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x0ff838f0,	0xe1c3e707,	0x9c0070c3,	0xc3fe07f0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x0000038e,	0x0e3838e0,	0x7701dc03,	0xe007001c,	0x007001c0,	0x07001c00,	0x7001c000},   
			{ 	0x00000000,	0x00000000,	0x0000038e,	0x0e3838e0,	0x7701fc01,	0xe001e003,	0x83fe0ff0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fe,	0x0ffc0070,	0x01c0070e,	0x3839e0ef,	0x03f80ec0,	0x3800e003,	0x800e0000},   
			{ 	0x00000000,	0x00000000,	0x000003f8,	0x0ff001e0,	0x03800e00,	0x3800e003,	0x800e0038,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x00000773,	0x9dce7731,	0xf9c7e71f,	0x9c7ce1c7,	0x87fc1fc0,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x000003fc,	0x1ff878f0,	0xe1c3870e,	0x1c3870e1,	0xc7871c1c,	0x00000000,	0x00000000},   
			{ 	0x00000000,	0x00000000,	0x00ff8306,	0x0c183060,	0xc183060c,	0x183fe000,	0x00000000,	0x00000000,	0x00000000},   //***
			{0x00000000, 0x000ef03b, 0xc0ef03bc, 0x0ef03bc0, 0xef03bc0e, 0xf03bc0ef, 0x03bc0ef0, 0x3bc00000, 0x00000000},
			{0x00000000, 0x000000f8, 0x73f3c3ce, 0x3f78f900, 0xfdefffbf, 0x3e3918e4, 0x67ff9dfe, 0xc01b0060, 0x00000000},
			{0x00000000, 0x0003c00f, 0x003c0000, 0x00007fe1, 0xff87fe1f, 0xf8000000, 0x00f003c0, 0x0f000000, 0x00000000},
	                    {0x0001ffe7, 0xff9ffe7f, 0xf9ffe7ff, 0x9ffe7ff9, 0xffe7ff9f, 0xfe7ff9ff, 0xe7ff8000, 0x00000000, 0x00000000}    //  127  0x7f
		},
};	

UINT32* get_char_from_hebrew(UINT8 charset, UINT8 character, UINT8 i)
{
   return((UINT32*)&TTX_HEBREW_Font[charset][character][i]);
}

#endif
